#define _CRT_SECURE_NO_WARNINGS 1
#include "MyStack.h"

test()
{
	MyStack *ms=myStackCreate();
	myStackPush(ms, 1);
	myStackPush(ms, 2);
	myStackPush(ms, 3);
	myStackPush(ms, 4);
	myStackPush(ms, 5);
	printf("%d\n", myStackPop(ms));
	printf("%d\n", myStackPop(ms));
	printf("%d\n", myStackTop(ms));
	printf("%d\n", myStackPop(ms));
	myStackFree(ms);

}
int main()
{
	test();
	return 0;
}